﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="addmanage.aspx.cs" Inherits="addmanage" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>管理系统===修改用户页面</title>
    <link rel="Stylesheet" type="text/css" href="ASPNET2.0BaseCss.css" />
	<script>    
var checkflag="false";    
function check(field){    
if(checkflag=="false"){    
for(i=0;i<field.length;i++){    
field[i].checked=true;}    
checkflag="true";    
return "解除全选"; }    
else {    
for(i=0;i<field.length;i++) {    
field[i].checked=false;}    
checkflag="false";    
return "选择全部";}}    
</script>   
</head>
<body>
    <form id="form1" runat="server">
    <table class="GbText" style="BORDER-COLLAPSE: collapse; border-right: #ccccff thin solid; border-top: #ccccff thin solid; border-left: #ccccff thin solid; border-bottom: #ccccff thin solid;" borderColor="#93bee2" cellSpacing="0"
		cellPadding="2" width="100%" border="1">
		<tr>
			<td colspan="2"><font class="HeaderText">添加管理员</font></td>
		</tr>
		<tr>
			<td colspan="2"><hr style="font-size: 1pt;" /></td>
		</tr>
		<tr style="line-height:2;">
			<td style="width:150" align="right">用户登录帐号:</td>
			<td><asp:textbox id="LoginName" runat="server" Width="150px" CssClass="InputCss"></asp:textbox></td>
		</tr>
		<tr style="line-height:2;">
          <td style="width:150" align="right">用户真实姓名:</td>
          <td><asp:textbox id="truename" runat="server" Width="150px" CssClass="InputCss"></asp:textbox></td>
	  </tr>
		<tr style="line-height:2;">
          <td style="width:150" align="right">所在部门:</td>
          <td><asp:textbox id="depart" runat="server" Width="150px" CssClass="InputCss"></asp:textbox></td>
	  </tr>
		<tr style="line-height:2;">
          <td style="width:150" align="right">密码:</td>
		  <td><asp:textbox id="NewPassword" runat="server" Width="150px" CssClass="InputCss" TextMode="Password"></asp:textbox>
              <asp:RequiredFieldValidator id="rfN" runat="server" ErrorMessage="密码不能为空！" ControlToValidate="NewPassword" Display="Dynamic" CssClass="GbText"></asp:RequiredFieldValidator></td>
	  </tr>
		<tr style="line-height:2;">
          <td style="width:150" align="right">确认密码:</td>
		  <td><asp:textbox id="PasswordStr" runat="server" Width="150px" CssClass="InputCss" TextMode="Password"></asp:textbox>
              <asp:RequiredFieldValidator id="rfS" runat="server" ErrorMessage="密码不能为空！" ControlToValidate="PasswordStr" Display="Dynamic" CssClass="GbText"></asp:RequiredFieldValidator>
              <asp:CompareValidator ID="CompareValidator1" runat="server" CssClass="GbText" ErrorMessage="两次输入的密码不相同！" ControlToCompare="NewPassword" ControlToValidate="PasswordStr"></asp:CompareValidator></td>
	  </tr>
		<tr style="line-height:2;">
			<td style="width:150" align="right">设置管理权限:<br /><input type="checkbox" name="checkall" value="checkbox" onClick="this.value=check(this.form.LimitCheck)">全选</TD>
			<TD align="left"><FONT face="宋体"><span class="Tabel_RowBG">
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D7EBEC" class="dhlink">
              <tr>
                <td colspan="6" height="30" bgcolor="#F4FCFF"><font color="#00527A"><b>文章系统管理权限</b></font> </td>
              </tr>
              <tr>
                <td width="15%" height="20" bgcolor='#ffffff'><input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="001" />
                  添加文章&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="002" />
                  管理文章&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="000" />
                  管理微博&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="003" />
                  管理小类&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="004" />
                  管理大类（<span class="STYLE1">慎用</span>） </td>
              </tr>
            </table>
				<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D7EBEC" class="dhlink">
              <tr>
                <td colspan="6" height="30" bgcolor="#F4FCFF"><font color="#00527A"><b>音乐系统管理权限</b></font> </td>
              </tr>
              <tr>
                <td width="15%" height="20" bgcolor='#ffffff'><input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="021" />
                  添加音乐&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="022" />
                  管理音乐&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="023" />
                  管理音乐小类&nbsp;
                  <!--<input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="024" />
                  管理音乐大类-->（<span class="STYLE1">慎用</span>） </td>
              </tr>
            </table>
		    <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D7EBEC" class="dhlink">
              <tr>
                <td colspan="6" height="30" bgcolor="#F4FCFF"><font color="#00527A"><b>预约留言管理</b></font> </td>
              </tr>
              <tr>
                <td width="15%" height="20" bgcolor='#ffffff'><input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="005" />
                  <font face="宋体">管理预约</font>&nbsp;<input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="0052" />
                  <font face="宋体">管理留言</font>&nbsp;<input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="0053" />
                  <font face="宋体">在线咨询</font>&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D7EBEC" class="dhlink">
              <tr>
                <td colspan="6" height="30" bgcolor="#F4FCFF"><font color="#00527A"><b><font face="宋体">案件</font>管理权限</b></font> </td>
              </tr>
              <tr>
                <td width="15%" height="20" bgcolor='#ffffff'><input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="006" />
                  <font face="宋体">办案情况管理</font>&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="007" />
                  <font face="宋体">添加办案情况</font>&nbsp;<input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="017" />
                  <font face="宋体">excel数据导入</font>&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="015" />
                  <font face="宋体">法官管理</font>&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="016" />
                  <font face="宋体">添加法官</font>&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="0072" />
                  <font face="宋体">修改柱状图</font>&nbsp;&nbsp;</td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D7EBEC" class="dhlink">
              <tr>
                <td colspan="6" height="30" bgcolor="#F4FCFF"><font color="#00527A"><b>友情链接管理权限</b></font> </td>
              </tr>
              <tr>
                <td width="15%" height="20" bgcolor='#ffffff'><input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="011" />
                  管理连接&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="012" />
                  添加链接&nbsp;
                  </td>
              </tr>
            </table>
				<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D7EBEC" class="dhlink">
              <tr>
                <td colspan="6" height="30" bgcolor="#F4FCFF"><font color="#00527A"><b>在线调查管理权限</b></font> </td>
              </tr>
              <tr>
                <td width="15%" height="20" bgcolor='#ffffff'><input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="018" />
                  管理在线调查&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="019" />
                  添加在线调查&nbsp;
                  </td>
              </tr>
            </table>
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#D7EBEC" class="dhlink">
              <tr>
                <td colspan="6" height="30" bgcolor="#F4FCFF"><font color="#00527A"><b>管理员管理权限</b></font> </td>
              </tr>
              <tr>
                <td width="15%" height="20" bgcolor='#ffffff'>
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="013" />
                  添加管理员&nbsp;
                  <input id='LimitCheck' name='LimitCheck' type='checkbox' style='border:0 ' value="014" />
                  管理员管理（<span class="STYLE1">慎用</span>） </td>
              </tr>
            </table>
            <%=sss %>
			</span></FONT></td>
		</tr>
		<tr style="line-height:2;">
			<td style="width:150" width="150" align="right"></TD>
			<TD align="left"><FONT face="宋体">&nbsp;</FONT><asp:Button ID="AddBtn" runat="server" Text=" 添 加 " Width="100px" CssClass="ButtonCss" OnClick="AddBtn_Click" />
			<FONT face="宋体">&nbsp;</FONT><asp:Button ID="ReturnBtn" runat="server" Text="返回" Width="100px" CssClass="ButtonCss" OnClick="ReturnBtn_Click" CausesValidation="False" /></td>
		</tr>
		<tr>
			<td></td>
		</tr>
    </table>
    </form>
</body>
</html>
